package cn.iocoder.yudao.module.picturebook.controller.admin.classhomework.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 班级作业信息分页 Request VO")
@Data
public class ClassHomeworkPageReqVO extends PageParam {

    @Schema(description = "关联班级", example = "13594")
    private Long classId;

    @Schema(description = "作业名称（如“07月08日作业”）", example = "王五")
    private String homeworkName;

    @Schema(description = "关联书籍（可多选，需用关联表扩展）", example = "20058")
    private Long bookId;

    @Schema(description = "截止时间")
    private LocalDateTime deadline;

    @Schema(description = "状态：1-未完成，2-已完成", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}